package com.yunhe.inspect.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @ClassName: InspectOrderAppCondition
 * @Description:
 * @author: GongDaCheng
 * @Date: 14:14 2021/11/11
 */
@Data
@ApiModel("App巡检单筛选条件")
public class InspectOrderWechatCondition implements Serializable {

    private static final long serialVersionUID = 4960504069628448935L;

    @ApiModelProperty("关键字")
    private String keywords;

    @ApiModelProperty("巡检状态")
    private String inspectStatus;

    @ApiModelProperty("企业id")
    private Long companyId;

    @ApiModelProperty("巡检类型")
    private String inspectType;

    @ApiModelProperty(value = "到期开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String inspectOrderExpirationStartTime;

    @ApiModelProperty(value = "到期结束时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String inspectOrderExpirationEndTime;

    @ApiModelProperty(value = "复审开始时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String reviewStartTime;

    @ApiModelProperty(value = "复审结束时间",required = false)
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String reviewEndTime;

    @ApiModelProperty(value = "当前页码")
    private Integer page;

    @ApiModelProperty(value = "页面条数")
    private Integer size;
}
